/*
============================================================================
 Name        : HandshakeForm.h
 Author      : 
 Version     :
 Copyright   : Your copyright notice
 Description : CHandshakeForm declaration
============================================================================
*/

#ifndef __HANDSHAKEFORM_H__
#define __HANDSHAKEFORM_H__

// INCLUDES
#include <e32std.h>
#include <e32base.h>

#include <aknform.h>

class CHandshakeForm : public CAknForm
{
public: // Constructors and destructor
	~CHandshakeForm();
	static CHandshakeForm* NewL(TDes& aUsername, TDes& aPassword);
	static CHandshakeForm* NewLC(TDes& aUsername, TDes& aPassword);

private:
	CHandshakeForm(TDes& aUsername, TDes& aPassword);
	void ConstructL();

private: //from CAknForm
    void PostLayoutDynInitL();
    TBool QuerySaveChangesL();
    TBool SaveFormDataL(); 
    void DoNotSaveFormDataL();
	void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane *aMenuPane);


public: //new functions
	TInt ExecuteLD();


private: //data
    TDes& iUsername;
	TDes& iPassword;
};

#endif // __HANDSHAKEFORM_H__
